#include "stdio.h"
/*
* I_1_1.c
*
*  Created on: April, 9, 2009
*      Author: yimingliu@fudan.edu.cn
*/
void funI_1_1()
{
	int i,a[20],sum,count;
	sum=0;
	count=0;
	for(i=0;i<10;i++)
	{
		scanf("%d",&a[i]);
	}
	for(i=0;i<10;i++)
	{
		if(a[i]>0)	
		{
			count++;
			sum+=a[i];
		}
	}
	printf("sum=%d, count=%d",sum,count);
}